load_assetType_select();

function load_assetType_select() {
	$('#assetType_select').html('<option value="" selected></option>');

	findAll_basic(path+'/assetType/findAll', function(response) {
		for(var i=0; i<response.data.length; i++) {
			$('#assetType_select').append('<option value="' + response.data[i].assetTypeId
				+ '">' + response.data[i].assetTypeName + '</option>');
		}
	});
}

load_assetType_cond_select();

function load_assetType_cond_select() {
	$('#assetType_cond_select').html('<option value="" selected></option>');

	findAll_basic(path+'/assetType/findAll', function(response) {
		for(var i=0; i<response.data.length; i++) {
			$('#assetType_cond_select').append('<option value="' + response.data[i].assetTypeId
				+ '">' + response.data[i].assetTypeName + '</option>');
		}
	});
}

_addChangeListener("#assetType_select", function() {
	var option = $('#assetType_select option:selected');
	room.assetTypeName = option.text();
});
